package cc.ccoke.design.factory.simple;


import cc.ccoke.design.factory.entity.Animal;

/**
 * 简单工厂模式
 * @author ccoke
 */
public class Main {
    public static void main(String[] args) {
        Animal animal = AnimalFactory.getAnimal("dog");
        animal.shout();
    }
}
